/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.edu.iuh.dhth7dlt.emailclient.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;


/**
 *
 * @author Friendless
 */
public class Validations {

      
    public static boolean Email(String email) {
        Pattern pattern = Pattern.compile(Consts.EMAIL_PATTERN);        
        Matcher matcher = pattern.matcher(email);
        return matcher.matches();
    }
       
}
